package com.dataeco.api.service;

import redis.clients.jedis.Jedis;

import java.util.Map;

public interface RedisService {

    public Jedis getResource();

    public void returnResource(Jedis jedis);

    public void set(String key, String value);

    public String getStringByKey(String key);
    public void putAll(String key, Map<String, Map<String, String>> map);

//    public Map<String, Map<String, String>>  getAll(String gson);

    public void setForUsers(String key, String value);

}